<%--
  Created by IntelliJ IDEA.
  User: ZZDZZ
  Date: 2024/6/20
  Time: 10:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
<head>
    <title>图书列表</title>
    <style>
        table, th, td {
            border: 1px solid black;
            border-collapse: collapse;
        }
        th, td {
            padding: 5px;
            text-align: left;
        }
    </style>
</head>
<body>
<h1 align="center">图书列表</h1>
<table align="center">
    <tr>
        <th>违规编号</th>
        <th>违规用户ID</th>
        <th>涉及违规书本ID</th>
        <th>超时天数</th>
        <th>违规记录登记时间</th>
    </tr>
    <c:forEach items="${list}" var="list">
        <tr>
            <td>${list.violationId}</td>
            <td>${list.userId}</td>
            <td>${list.bookId}</td>
            <td>${list.overdueDays}</td>
            <td>${list.recordDate}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>